package com.todod.base.module.infra.controller.admin.baseofficialletter.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 公函新增/修改 Request VO")
@Data
public class BaseOfficialLetterDetailRespVO {

    /**
     * 主键
     */
    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "19109")
    private Long id;
    /**
     * 公函管理id
     */
    @Schema(description = "公函管理id", requiredMode = Schema.RequiredMode.REQUIRED, example = "19109")
    private Long officialLetterId;
    /**
     * 用户id
     */
    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "19109")
    private Long userId;
    /**
     * 用户名称
     */
    @Schema(description = "用户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "19109")
    private String userName;
    /**
     * 首次查看时间
     */
    @Schema(description = "首次查看时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "19109")
    private LocalDateTime firstViewTime;
    /**
     * 末次查看时间
     */
    @Schema(description = "末次查看时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "19109")
    private LocalDateTime lastViewTime;
    /**
     * 查看总次数
     */
    @Schema(description = "查看总次数", requiredMode = Schema.RequiredMode.REQUIRED, example = "19109")
    private Integer totalViewNum;
    /**
     * 状态(未查看:0；已查看:1)
     */
    @Schema(description = "状态(未查看:0；已查看:1)", requiredMode = Schema.RequiredMode.REQUIRED, example = "19109")
    private Integer status;

    @Schema(description = "部门id", requiredMode = Schema.RequiredMode.REQUIRED, example = "19109")
    private Long deptId;

    @Schema(description = "手机号", requiredMode = Schema.RequiredMode.REQUIRED, example = "19109")
    private String mobile;

    @Schema(description = "发布时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "19109")
    private LocalDateTime publishTime;

}